package ar.com.digitalbricks.fwk.impl;

import ar.com.digitalbricks.fwk.PersistentEntity;

public abstract class PersistentEntityAbstract extends PersistentImpl implements PersistentEntity {
	private String code;
	private String description;
	
	@Override
	public int hashCode() {
		return this.getCode().hashCode();
	}
	
/***********************
 * GETTERS AND SETTERS *
 *******************//**/
	@Override
	public String getCode() {
		return this.code;
	}
	@Override
	public void setCode(String code) {
		this.code = code;
	}
	@Override
	public String getDescription() {
		return this.description;
	}
	@Override
	public void setDescription(String description) {
		this.description = description;
	}
}